package cn.panda.edu.model;


import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 类描述：  学籍异动申请表
 */
public class Transaction implements Serializable{
	/** 
	* @Fields serialVersionUID : TODO(用一句话描述这个变量表示什么) 
	*/ 
	private static final long serialVersionUID = 1L;
	/**
	 * 异动编号
	 */
    private Integer transactionId;
    /**
	 * 学生编号
	 */
    private Integer studentId;
    /**
	 * 教师编号
	 */
    private Integer teacherId;
    /**
	 * 申请主题
	 */
    private String transactionReasonRequest;
    /**
	 * 申请时间
	 */
    private Date transactionApplyDate;
    /**
	 * 开始时间
	 */
    private Date transactionStartDate;
    /**
	 * 申请时长
	 */
    private String transactionHowLong;
    /**
	 * 现状
	 */
    private String transactionCurrentState;
    /**
	 * 审核结果
	 */
    private String transactionResponseState;
    /**
	 * 删除状态
	 */
    private Integer transactionDelete;
    /**
	 * 申请详细
	 */
    private String transactionReasonText;
    
    private Student student;

    public Integer getTransactionId() {
        return transactionId;
    }

    public void setTransactionId(Integer transactionId) {
        this.transactionId = transactionId;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getTeacherId() {
        return teacherId;
    }

    public void setTeacherId(Integer teacherId) {
        this.teacherId = teacherId;
    }

    public String getTransactionReasonRequest() {
        return transactionReasonRequest;
    }

    public void setTransactionReasonRequest(String transactionReasonRequest) {
        this.transactionReasonRequest = transactionReasonRequest == null ? null : transactionReasonRequest.trim();
    }

    public Date getTransactionApplyDate() {
        return transactionApplyDate;
    }

    public void setTransactionApplyDate(Date transactionApplyDate) {
        this.transactionApplyDate = transactionApplyDate;
    }

    public Date getTransactionStartDate() {
        return transactionStartDate;
    }

    public void setTransactionStartDate(Date transactionStartDate) {
        this.transactionStartDate = transactionStartDate;
    }

    public String getTransactionHowLong() {
        return transactionHowLong;
    }

    public void setTransactionHowLong(String transactionHowLong) {
        this.transactionHowLong = transactionHowLong == null ? null : transactionHowLong.trim();
    }

    public String getTransactionCurrentState() {
        return transactionCurrentState;
    }

    public void setTransactionCurrentState(String transactionCurrentState) {
        this.transactionCurrentState = transactionCurrentState == null ? null : transactionCurrentState.trim();
    }

    public String getTransactionResponseState() {
        return transactionResponseState;
    }

    public void setTransactionResponseState(String transactionResponseState) {
        this.transactionResponseState = transactionResponseState == null ? null : transactionResponseState.trim();
    }

    public Integer getTransactionDelete() {
        return transactionDelete;
    }

    public void setTransactionDelete(Integer transactionDelete) {
        this.transactionDelete = transactionDelete;
    }

    public String getTransactionReasonText() {
        return transactionReasonText;
    }

    public void setTransactionReasonText(String transactionReasonText) {
        this.transactionReasonText = transactionReasonText == null ? null : transactionReasonText.trim();
    }

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	@Override
	public String toString() {
		return "Transaction [transactionId=" + transactionId + ", studentId=" + studentId + ", teacherId=" + teacherId
				+ ", transactionReasonRequest=" + transactionReasonRequest + ", transactionApplyDate="
				+ transactionApplyDate + ", transactionStartDate=" + transactionStartDate + ", transactionHowLong="
				+ transactionHowLong + ", transactionCurrentState=" + transactionCurrentState
				+ ", transactionResponseState=" + transactionResponseState + ", transactionDelete=" + transactionDelete
				+ ", transactionReasonText=" + transactionReasonText + ", student=" + student + "]";
	}
	
}